package com.zfei.gfb.vo;

import com.zfei.gfb.model.GfbCompany;
import com.zfei.gfb.model.GfbGuest;
import com.zfei.gfb.model.GfbVillager;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("登录用户")
public class LoginVo {

    @ApiModelProperty(value = "用户类型,0：游客，1：村民，2：企业", allowableValues = "0,1,2", required = true)
    private int type;
    @ApiModelProperty(value = "游客信息")
    private GfbGuest guest;
    @ApiModelProperty(value = "村民信息")
    private GfbVillager villager;
    @ApiModelProperty(value = "企业信息")
    private GfbCompany company;

    @ApiModelProperty(value = "村民认证失败时返回的信息")
    private String msg;

}
